package cn.ncupyh.soft.staticInnerClass.students.entity;

public class Teacher extends Count{
    public String subjects;//科目
    public String identity;//身份证信息
    public String phoneNum;

    public String getSubjects() {
        return subjects;
    }

    public void setSubjects(String subjects) {
        this.subjects = subjects;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public Teacher(String ID, String name, String password, String subjects, String identity, String phoneNum) {
        super(ID, name, password);
        this.subjects = subjects;
        this.identity = identity;
        this.phoneNum = phoneNum;
    }

    public Teacher() {
    }
}
